gtk4.git
5 years agoaboutdialog: tweak the docs
Matthias Clasen [Fri, 19 Feb 2021 19:50:49 +0000 (14:50 -0500)]
aboutdialog: tweak the docs

Add a short summary.

5 years agolabel: Convert docs
Matthias Clasen [Fri, 19 Feb 2021 19:47:44 +0000 (14:47 -0500)]
label: Convert docs

Change link syntax, add singl-line summaries,
add missing property docs.

5 years agodocs: Bring the widget gallery back
Matthias Clasen [Fri, 19 Feb 2021 18:03:20 +0000 (13:03 -0500)]
docs: Bring the widget gallery back

We have all the images, lets put them to use.

5 years agodocs: Remove the last few remaining '+' from GTK
Emmanuele Bassi [Thu, 18 Feb 2021 18:28:48 +0000 (18:28 +0000)]
docs: Remove the last few remaining '+' from GTK

5 years agodocs: Clean up the first paragraph for various symbols
Emmanuele Bassi [Thu, 18 Feb 2021 18:17:56 +0000 (18:17 +0000)]
docs: Clean up the first paragraph for various symbols

The documentation engine will use the first paragraph as the summary for
a type or constant.

5 years agodocs: Show summary in the namespace index
Emmanuele Bassi [Thu, 18 Feb 2021 17:30:03 +0000 (17:30 +0000)]
docs: Show summary in the namespace index

5 years agodocs: Start porting GtkImage to the new style
Emmanuele Bassi [Thu, 18 Feb 2021 17:02:51 +0000 (17:02 +0000)]
docs: Start porting GtkImage to the new style

5 years agodocs: Port GtkAboutDialog to the new syntax
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:55 +0000 (13:38 +0000)]
docs: Port GtkAboutDialog to the new syntax

We should also clean up the annotations, while we're at it.

5 years agobuild: Quiet down gi-docgen
Emmanuele Bassi [Thu, 18 Feb 2021 13:38:29 +0000 (13:38 +0000)]
build: Quiet down gi-docgen

We are only interested in the warnings and errors.

5 years agodocs: Fix up the style of the X11 content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:52:20 +0000 (17:52 +0000)]
docs: Fix up the style of the X11 content file

5 years agodocs: Move detached sections into their own content file
Emmanuele Bassi [Wed, 17 Feb 2021 17:41:56 +0000 (17:41 +0000)]
docs: Move detached sections into their own content file

5 years agodocs: Split GdkDrag and GdkDrop sections
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:54 +0000 (14:22 +0000)]
docs: Split GdkDrag and GdkDrop sections

This way we have a section for each class.

5 years agodocs: Rename GdkTexture section
Emmanuele Bassi [Wed, 17 Feb 2021 14:22:19 +0000 (14:22 +0000)]
docs: Rename GdkTexture section

The name needs to match the class.

5 years agodocs: Move gdkcairo section to an external file
Emmanuele Bassi [Wed, 17 Feb 2021 14:21:46 +0000 (14:21 +0000)]
docs: Move gdkcairo section to an external file

5 years agodocs: Move the gtkmain section to its own document
Emmanuele Bassi [Sun, 14 Feb 2021 19:36:15 +0000 (19:36 +0000)]
docs: Move the gtkmain section to its own document

The introspection data does not handle unattached sections like gtk-doc
does, so we need to move what was gtkmain into its own Markdown
document.

5 years agodocs: Use new link syntax
Emmanuele Bassi [Sun, 14 Feb 2021 19:00:12 +0000 (19:00 +0000)]
docs: Use new link syntax

5 years agodocs: Begin porting GtkWidget to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:26 +0000 (18:00 +0000)]
docs: Begin porting GtkWidget to the new format

5 years agodoc: Port GtkConstraint to the new format
Emmanuele Bassi [Sun, 14 Feb 2021 18:00:00 +0000 (18:00 +0000)]
doc: Port GtkConstraint to the new format

5 years agodocs: De-indent GtkRecentInfo.get_applications() return value
Emmanuele Bassi [Sun, 14 Feb 2021 17:59:05 +0000 (17:59 +0000)]
docs: De-indent GtkRecentInfo.get_applications() return value

Otherwise the four spaces will be treated as a pre-formatted block by
Markdown.

5 years agodocs: Start porting GtkConstraintLayout to the new doc format
Emmanuele Bassi [Fri, 12 Feb 2021 00:19:41 +0000 (00:19 +0000)]
docs: Start porting GtkConstraintLayout to the new doc format

Drop the old gtk-doc'isms, and use the gi-docgen links instead.

5 years agodocs: Add metadata preamble to GTK's content files
Emmanuele Bassi [Wed, 10 Feb 2021 14:03:56 +0000 (14:03 +0000)]
docs: Add metadata preamble to GTK's content files

5 years agodocs: Drop gtk-doc files
Emmanuele Bassi [Thu, 18 Feb 2021 12:59:09 +0000 (12:59 +0000)]
docs: Drop gtk-doc files

We don't use gtk-doc to generate our API reference, so we don't need its
files lying around any more.

5 years agoGenerate GTK API reference(s) with gi-docgen
Emmanuele Bassi [Wed, 10 Feb 2021 13:41:53 +0000 (13:41 +0000)]
Generate GTK API reference(s) with gi-docgen

Stop using gtk-doc, and switch to gi-docgen.

The gi-docgen tool generates API references through the introspection
data, which has various benefits:

 - it does not parse C code
 - it does not generate and run C code to introspect types at build time
 - it does not present a different API from the one we're exporting

Additionally, gi-docgen:

 - does not generate DocBook XML in order to generate HTML
 - does not go through xsltproc
 - parses proper Markdown

Which makes it markedly faster than gtk-doc has ever been.

5 years agoAdd gi-docgen as a subproject
Emmanuele Bassi [Wed, 10 Feb 2021 13:38:51 +0000 (13:38 +0000)]
Add gi-docgen as a subproject

While we're developing gi-docgen it's better to have it as part of our
build.

5 years agoci: Update the fedora-docs Docker image
Emmanuele Bassi [Mon, 15 Feb 2021 18:02:53 +0000 (18:02 +0000)]
ci: Update the fedora-docs Docker image

Use the latest base image.

5 years agoci: Update the CI image for docs building
Emmanuele Bassi [Mon, 15 Feb 2021 16:43:10 +0000 (16:43 +0000)]
ci: Update the CI image for docs building

We don't use Pandoc any more, but we need a bunch of Python modules for
gi-docgen.

5 years agoci: Update the reference job
Emmanuele Bassi [Mon, 15 Feb 2021 00:56:35 +0000 (00:56 +0000)]
ci: Update the reference job

5 years agoRename base version argument in run-docker.sh
Emmanuele Bassi [Mon, 15 Feb 2021 16:42:07 +0000 (16:42 +0000)]
Rename base version argument in run-docker.sh

The `--base-version` argument trips up everyone. Might as well rename it
to `--version`.

5 years agoMerge branch 'fix-menubutton-tooltips' into 'master'
Matthias Clasen [Thu, 11 Mar 2021 14:25:53 +0000 (14:25 +0000)]
Merge branch 'fix-menubutton-tooltips' into 'master'

Limit tooltip queries to the same native

Closes #3719

See merge request GNOME/gtk!3283

5 years agoLimit tooltip queries to the same native
Matthias Clasen [Thu, 11 Mar 2021 13:56:05 +0000 (08:56 -0500)]
Limit tooltip queries to the same native

Without this, the menubuttons tooltip pops up
when hovering the popover, which is suprising
and unintended.

Fixes: #3719
5 years agoMerge branch 'gdk-win32-use-window-from-point-for-master' into 'master'
Matthias Clasen [Thu, 11 Mar 2021 01:09:39 +0000 (01:09 +0000)]
Merge branch 'gdk-win32-use-window-from-point-for-master' into 'master'

GdkWin32: Fix mouse events in presence of transparent windows on the desktop

Closes #370, #417, and gimp#1082

See merge request GNOME/gtk!2800

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 23:59:05 +0000 (23:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

inspector: Fix surface transform regression

See merge request GNOME/gtk!3280

5 years agoinspector: Fix surface transform regression
Matthias Clasen [Tue, 9 Mar 2021 22:42:59 +0000 (17:42 -0500)]
inspector: Fix surface transform regression

Ever since we added surface-to-widget transforms,
the autofading of the fps overlay did not work anymore,
since it was given the transient transform node, most
of the time.

Fix this by passing both the root of the node tree and
the node for the toplevel widget to prepare_render, and
hande the widget node to the overlays. Update the
affected overlays that need to have their positioning
adjusted.

5 years agoUpdate Serbian translation
Мирослав Николић [Tue, 9 Mar 2021 21:23:01 +0000 (21:23 +0000)]
Update Serbian translation

(cherry picked from commit f33a2febc7df6ec9c7721361f94121c2db079057)

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Tue, 9 Mar 2021 19:11:09 +0000 (19:11 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

See merge request GNOME/gtk!3279

5 years agowayland: Fix memleaks when rendering with Cairo
Benjamin Otte [Tue, 9 Mar 2021 18:52:59 +0000 (19:52 +0100)]
wayland: Fix memleaks when rendering with Cairo

We were leaking buffers. This wasn't caught by valgrind and friends
because it was shared memory (with the compositor), but top(1) would
instantly see memory consumption of the app and the shell go through the
roof.

5 years agowayland: Don't call _gdk_surface_update_size() all the time
Benjamin Otte [Tue, 9 Mar 2021 18:50:56 +0000 (19:50 +0100)]
wayland: Don't call _gdk_surface_update_size() all the time

We were calling _gdk_surface_update_size() every frame, even if the
window size didn't change. This would cause us to discard all cached
buffers and redraw the whole screen.

This was BAD.

5 years agoMerge branch 'ngl-rect-borders' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 17:56:57 +0000 (17:56 +0000)]
Merge branch 'ngl-rect-borders' into 'master'

Speed up border rendering

See merge request GNOME/gtk!3278

5 years agonodeparser: Print debug message before child
Matthias Clasen [Tue, 9 Mar 2021 05:43:47 +0000 (00:43 -0500)]
nodeparser: Print debug message before child

This puts the message up top, where it can be seen,
and not at the other end of an endless tree of children.

Update tests to match.

5 years agongl: Render simple borders simply
Matthias Clasen [Tue, 9 Mar 2021 02:37:28 +0000 (21:37 -0500)]
ngl: Render simple borders simply

Use 4 color commands for uniform, rectilinear
borders. Most of our borders are rounded with
Adwaita, but there are still some of these.

5 years agogsk: Add gsk_border_node_get_uniform_color
Matthias Clasen [Tue, 9 Mar 2021 02:36:41 +0000 (21:36 -0500)]
gsk: Add gsk_border_node_get_uniform_color

Maintain this bit of information separately,
it will be useful in the next commit.

5 years agovulkan: Improve rounded rect clipping
Benjamin Otte [Sat, 6 Mar 2021 19:44:38 +0000 (20:44 +0100)]
vulkan: Improve rounded rect clipping

Handle the case where the inner rounded rect is fully contained
within the outer rounded rect.

5 years agovulkan: Fix invalid read
Benjamin Otte [Sat, 6 Mar 2021 19:43:52 +0000 (20:43 +0100)]
vulkan: Fix invalid read

Look at the right rect to compute circularness

5 years agoMerge branch 'meson-override-dep' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 03:00:18 +0000 (03:00 +0000)]
Merge branch 'meson-override-dep' into 'master'

meson: override gtk4 dependency

See merge request GNOME/gtk!3277

5 years agomeson: override gtk4 dependency
Xavier Claessens [Tue, 9 Mar 2021 02:06:33 +0000 (21:06 -0500)]
meson: override gtk4 dependency

This allows applications that depends on gtk4 to build it as subproject
without hardcoding 'gtk_dep' variable name in their build definition.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 9 Mar 2021 00:12:11 +0000 (00:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!3276

5 years agoMerge branch 'bilelmoussaoui/size-request-annotations' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 23:07:18 +0000 (23:07 +0000)]
Merge branch 'bilelmoussaoui/size-request-annotations' into 'master'

g-i: update distribute_natural_allocation annotation

See merge request GNOME/gtk!3271

5 years agonode-format: Small docs fixes
Matthias Clasen [Mon, 8 Mar 2021 21:04:53 +0000 (16:04 -0500)]
node-format: Small docs fixes

5 years agospinbutton: Interpret localized digits
Matthias Clasen [Tue, 24 Nov 2020 18:42:29 +0000 (13:42 -0500)]
spinbutton: Interpret localized digits

Interpret input where the characters have numeric values.

See #3387

5 years agoMerge branch 'ngl-clip-classification' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 20:20:50 +0000 (20:20 +0000)]
Merge branch 'ngl-clip-classification' into 'master'

Ngl clip classification

See merge request GNOME/gtk!3274

5 years agoglsl: Make rounded rect clipping cheaper
Matthias Clasen [Mon, 8 Mar 2021 15:03:21 +0000 (10:03 -0500)]
glsl: Make rounded rect clipping cheaper

Add early acceptance checks for non-corner cases.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 8 Mar 2021 13:38:12 +0000 (13:38 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert "ngl: Remove a few redundant checks"

See merge request GNOME/gtk!3273

5 years agoRevert "ngl: Remove a few redundant checks"
Matthias Clasen [Mon, 8 Mar 2021 13:10:25 +0000 (08:10 -0500)]
Revert "ngl: Remove a few redundant checks"

This reverts commit 4375f8e382ef035d970dd255f56d1a7470c1a78c.

These were not redundant after all, as pointed out by Timm.

5 years agoAdd some more rounded rect tests
Matthias Clasen [Mon, 8 Mar 2021 02:28:19 +0000 (21:28 -0500)]
Add some more rounded rect tests

5 years agogsk: Use clip defines in shaders
Matthias Clasen [Sun, 7 Mar 2021 22:51:42 +0000 (17:51 -0500)]
gsk: Use clip defines in shaders

Use the NO_CLIP and RECT_CLIP defines to make
simpler shaders for these cases.

Note: This does not work yet.

5 years agongl: Add infrastructure for clip-variants of shaders
Matthias Clasen [Sun, 7 Mar 2021 22:50:19 +0000 (17:50 -0500)]
ngl: Add infrastructure for clip-variants of shaders

Make ngl compile each shader three times.
Once with #define NO_CLIP 1
once with #define RECT_CLIP 1
and once as before.

5 years agongl: Classify clips
Matthias Clasen [Sun, 7 Mar 2021 15:02:46 +0000 (10:02 -0500)]
ngl: Classify clips

Maintain the 'fully contained' information in the clip
stack. This will let us pick simpler shaders in the future.

5 years agoMerge branch 'ebassi/iface-macros' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 20:22:14 +0000 (20:22 +0000)]
Merge branch 'ebassi/iface-macros' into 'master'

Remove invalid class macros

See merge request GNOME/gtk!3270

5 years agoMove gtk_rounded_rect_scale_affine to the right place
Matthias Clasen [Sun, 7 Mar 2021 19:35:44 +0000 (14:35 -0500)]
Move gtk_rounded_rect_scale_affine to the right place

This function should live with the rest of the
GskRoundedRect code in gskroundedrect.c.

5 years agoimcontext: Fix a docs mishap
Matthias Clasen [Sun, 7 Mar 2021 20:16:04 +0000 (15:16 -0500)]
imcontext: Fix a docs mishap

5 years agog-i: update distribute_natural_allocation annotation
Bilal Elmoussaoui [Sun, 7 Mar 2021 19:59:01 +0000 (20:59 +0100)]
g-i: update distribute_natural_allocation annotation

5 years agoMerge branch 'bilelmoussaoui/gi-annotations' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 19:46:59 +0000 (19:46 +0000)]
Merge branch 'bilelmoussaoui/gi-annotations' into 'master'

g-i: add missing since annotations for 4.2

See merge request GNOME/gtk!3268

5 years agog-i: add missing since annotations for 4.2
Bilal Elmoussaoui [Sun, 7 Mar 2021 15:51:38 +0000 (16:51 +0100)]
g-i: add missing since annotations for 4.2

5 years agoMerge branch 'scalable-svg' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 18:43:50 +0000 (18:43 +0000)]
Merge branch 'scalable-svg' into 'master'

icons: Rename two icons which had the wrong extension

See merge request GNOME/gtk!3269

5 years agodocs: Remove invalid macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:34:53 +0000 (18:34 +0000)]
docs: Remove invalid macros

5 years agotreesortable: Remove class check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:26:31 +0000 (18:26 +0000)]
treesortable: Remove class check macro

5 years agoorientable: Remove class macros
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:55 +0000 (18:25 +0000)]
orientable: Remove class macros

5 years agocelleditable: Remove class cast check macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:25:07 +0000 (18:25 +0000)]
celleditable: Remove class cast check macro

5 years agobuildable: Remove "class" macro
Emmanuele Bassi [Sun, 7 Mar 2021 18:23:23 +0000 (18:23 +0000)]
buildable: Remove "class" macro

5 years agoicons: Rename two icons which had the wrong extension
Emmanuel Gil Peyrot [Sun, 7 Mar 2021 17:58:57 +0000 (18:58 +0100)]
icons: Rename two icons which had the wrong extension

Fixes two warnings when opening the inspector on my PinePhone, these two
files were attempted to be loaded as PNG (as per the extension) instead
of SVG.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
5 years agoMerge branch 'ngl-misc-fixes' into 'master'
Christian Hergert [Sun, 7 Mar 2021 15:59:59 +0000 (15:59 +0000)]
Merge branch 'ngl-misc-fixes' into 'master'

Ngl misc fixes

See merge request GNOME/gtk!3267

5 years agoUpdate Latvian translation
Rūdolfs Mazurs [Sun, 7 Mar 2021 15:26:09 +0000 (15:26 +0000)]
Update Latvian translation

(cherry picked from commit 1d62020a1912c410a24879922c34284f8a534e54)

5 years agongl: Treat radial gradients like others
Matthias Clasen [Sun, 7 Mar 2021 15:17:34 +0000 (10:17 -0500)]
ngl: Treat radial gradients like others

Handle colorstop overflow for radial gradients
the same way we do for linear and conic gradients.

5 years agongl: Remove a few redundant checks
Matthias Clasen [Sun, 7 Mar 2021 15:16:56 +0000 (10:16 -0500)]
ngl: Remove a few redundant checks

We bail early on invisible nodes. No need to
repeat that check in individual visit functions.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 7 Mar 2021 14:59:57 +0000 (14:59 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert "flatpak: No need to build sassc anymore"

See merge request GNOME/gtk!3266

5 years agoroundedrect: Remove unclear language from the docs
Matthias Clasen [Sun, 7 Mar 2021 14:04:43 +0000 (09:04 -0500)]
roundedrect: Remove unclear language from the docs

The various intersection function for rounded rects are
precise. No need to add wordy disclaimers about the handling
of the corners.

5 years agoRevert "flatpak: No need to build sassc anymore"
Matthias Clasen [Sat, 6 Mar 2021 21:00:03 +0000 (16:00 -0500)]
Revert "flatpak: No need to build sassc anymore"

This reverts commit 9a540841fd5c18394456a3dfcfde721a69ed4724.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 6 Mar 2021 19:29:50 +0000 (19:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

vulkan: Add visible fallback rendering

See merge request GNOME/gtk!3264

5 years agoUpdate French translation
Guillaume Bernard [Sat, 6 Mar 2021 18:49:22 +0000 (18:49 +0000)]
Update French translation

(cherry picked from commit 5b18df9b5ebe2a8786c53a62b63ba84c1a1fd3a3)

5 years agoUpdate Serbian translation
Мирослав Николић [Sat, 6 Mar 2021 18:43:30 +0000 (18:43 +0000)]
Update Serbian translation

(cherry picked from commit b9a451423fe54e8f93fd39d8ef01f4fb835b4655)

5 years agoUpdate Korean translation
Changwoo Ryu [Sat, 6 Mar 2021 18:11:19 +0000 (18:11 +0000)]
Update Korean translation

(cherry picked from commit 60a714a25ff40a36f969b154d04036c56dbf067f)

5 years agoUpdate Catalan translation
Jordi Mas [Sat, 6 Mar 2021 08:44:50 +0000 (09:44 +0100)]
Update Catalan translation

5 years agovulkan: Handle simple transforms in the clipping code
Benjamin Otte [Sat, 6 Mar 2021 00:35:04 +0000 (19:35 -0500)]
vulkan: Handle simple transforms in the clipping code

Requires pushing the GskTransform into the clipping code so that we
can actually look at its category.

5 years agovulkan: Add visible fallback rendering
Matthias Clasen [Fri, 5 Mar 2021 23:39:22 +0000 (18:39 -0500)]
vulkan: Add visible fallback rendering

Hook up the "Show fallback rendering" switch for Vulkan.

This brings home the sobering truth that the Vulkan renderer
is doing *all* fallback, since we switched from offset nodes
to transform nodes.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 20:30:54 +0000 (20:30 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!3263

5 years agosearchentry: Typo fix
Matthias Clasen [Thu, 4 Mar 2021 15:05:19 +0000 (10:05 -0500)]
searchentry: Typo fix

5 years agoflatpak: Fix the gtk4-demo build
Matthias Clasen [Fri, 5 Mar 2021 20:06:20 +0000 (15:06 -0500)]
flatpak: Fix the gtk4-demo build

This was overlooked in 8e7e821033abb291391c26aa288a8.

5 years agoMerge branch 'wip/exalm/window-shadow-dark-4' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 19:41:39 +0000 (19:41 +0000)]
Merge branch 'wip/exalm/window-shadow-dark-4' into 'master'

Adwaita: Use transparent black for window border in dark too

See merge request GNOME/gtk!3261

5 years agoMerge branch 'wip/jimmac/fix-flatpak-build' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 19:11:36 +0000 (19:11 +0000)]
Merge branch 'wip/jimmac/fix-flatpak-build' into 'master'

Flatpak: Update build manifests

See merge request GNOME/gtk!3259

5 years agoAdwaita: Use transparent black for window border in dark too
Alexander Mikhaylenko [Fri, 5 Mar 2021 17:59:25 +0000 (22:59 +0500)]
Adwaita: Use transparent black for window border in dark too

Avoid smear when the background behind the window is dark. Adjust opacity
to make it appear roughly the same as before on white background.

5 years agoMerge branch 'wip/jimmac/sidebar-focus' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 17:17:04 +0000 (17:17 +0000)]
Merge branch 'wip/jimmac/sidebar-focus' into 'master'

Adwaita: Regular focus ring for sidebar rows

Closes #3708

See merge request GNOME/gtk!3258

5 years agoFlatpak: Update build manifests
Jakub Steiner [Fri, 5 Mar 2021 17:00:17 +0000 (18:00 +0100)]
Flatpak: Update build manifests

- point to the upstream repo for wayland
- disable disabling of sassc
- switch wayland from autotools to meson

5 years agoAdwaita: Regular focus ring for sidebar rows
Jakub Steiner [Fri, 5 Mar 2021 11:16:10 +0000 (12:16 +0100)]
Adwaita: Regular focus ring for sidebar rows

- style sidebar rows as regular items like buttons wrt focus
- define transition as part of the focus-ring(),
  only animate outline related properties rather than `all`

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3708

5 years agoUpdate Indonesian translation
Kukuh Syafaat [Fri, 5 Mar 2021 11:52:39 +0000 (11:52 +0000)]
Update Indonesian translation

(cherry picked from commit e54dc87a152aa7379aa015e9fc5ea3aaa793c231)

5 years agoMerge branch 'iconbrowser-fix' into 'master'
Matthias Clasen [Fri, 5 Mar 2021 01:11:11 +0000 (01:11 +0000)]
Merge branch 'iconbrowser-fix' into 'master'

iconbrowser: fix search<>category interaction

Closes #3717

See merge request GNOME/gtk!3257

5 years agoiconbrowser: fix search<>category interaction
Matthias Clasen [Thu, 4 Mar 2021 21:13:46 +0000 (16:13 -0500)]
iconbrowser: fix search<>category interaction

Make search act like a separate, filtered view of
all icons. This is how it worked in gtk3, and how
it should be.

Fixes: #3717
5 years agoMerge branch 'preedit-selection-fix' into 'master'
Matthias Clasen [Thu, 4 Mar 2021 22:48:25 +0000 (22:48 +0000)]
Merge branch 'preedit-selection-fix' into 'master'

Preedit selection fix

Closes #1123

See merge request GNOME/gtk!3255

5 years agotextview: Delete selection when preedit starts
Matthias Clasen [Thu, 4 Mar 2021 19:55:40 +0000 (14:55 -0500)]
textview: Delete selection when preedit starts

This prevents confusing misrendering when the preedit text
pushes the selection text out of the rendered selection.

Fixes: #1123
5 years agotextview: Send anchor with surrounding
Matthias Clasen [Thu, 4 Mar 2021 19:46:46 +0000 (14:46 -0500)]
textview: Send anchor with surrounding

We have the api to do it now.

5 years agotext: Optimize away 0-change insertions and deletions
Matthias Clasen [Thu, 4 Mar 2021 19:14:09 +0000 (14:14 -0500)]
text: Optimize away 0-change insertions and deletions

We can short-circuit insert and delete calls that are
not causing any change.